package com.app.designpatternslearn.behavior.nullobjectpattern

import com.app.designpatternslearn.behavior.nullobjectpattern.code.CustomerFactory

fun main() {

    val factory = CustomerFactory()
    val oneCustomer = factory.getCustomer("aaa")
    println("name ---> ${oneCustomer.getName()} ::: isNil ---> ${oneCustomer.isNil()}")

    val twoCustomer = factory.getCustomer("111111")
    println("name ---> ${twoCustomer.getName()} ::: isNil ---> ${twoCustomer.isNil()}")
}